package com.symbol;

public class Varsym extends Symbol{
	
	public int level;
	public int value;
	
	public Varsym(int lev,String name,int v)
	{
		super(Kind.VAR,name);
		this.level=lev;
		this.value=v;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}
	
	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public String toString()
	{
		return "Kind: Var, Name: "+name+"Level: "+level;
	}
	

}
